package com.example.one.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * Copyright (C), 2017-2022, MIDOU
 * ClassName: User
 * Author:   pangshu
 * Date:     2022/10/28 17:28
 * Version: 1.0
 * Description: 用户信息
 */
@Data
@TableName(value = "user")
public class User {
    @TableId(value = "id",type = IdType.AUTO)
    private  Integer id;
    @TableField("usernmae")
    private  String username;
    @TableField("password")
    private String password;
    @TableField("phone")
    private String phone;//电话
    @TableField("addrs")
    private String addrs;//地址
}
